package cn.school.student.service.impl;


import cn.school.student.dao.TExamCorrelationDao;
import cn.school.student.entity.TExamCorrelation;
import cn.school.student.entity.TExamSubject;
import cn.school.student.service.TExamCorrelationService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TExamCorrelationServiceImpl extends ServiceImpl<TExamCorrelationDao,TExamCorrelation> implements TExamCorrelationService {
    @Autowired
    private TExamCorrelationDao tExamCorrelationDao;

    @Override
    public Integer insertBatch(List<TExamCorrelation> examCorrelations) {
        return tExamCorrelationDao.insertBatch(examCorrelations);
    }

    @Override
    public List<TExamSubject> queryQuestionsIdList(Long studentId) {
        return this.tExamCorrelationDao.queryQuestionsIdList(studentId);
    }
}
